<?php

function _addEvent($type, $callback)
{
	Core::events()->addHandler($type, $callback);
}

function _fireEvent($type)
{
	$args = func_get_args();
	return call_user_func_array(array(Core::events(), "fireEvent"), $args);
}

?>